package com.block.db.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商户匹配订单子项信息
 * </p>
 *
 * @author 
 * @since 2023-08-15
 */
@Getter
@Setter
@TableName("lq_data_match_order_item")
public class DataMatchOrderItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
      private Long id;

    /**
     * 订单编号
     */
    private Long orderId;

    private String dateInfo;

    private Integer infoId;

    private String infoType;

    private Integer taskId;

    private BigDecimal profitAmount;

    private Long uid;

    private String appCode;

    private String appName;

    private String channelCode;

    private String channelName;

    private String status;

    /**
     * 用户协议地址
     */
    private String protocolUrl;

    /**
     * 是否需要授权（1 需要）（0 不需要）
     * 需要授权的，
     *
     */
    private Integer approveFlag;

    private String approveUrl;

      @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

      @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

      private String pushId;

      private String remarkInfo;

      private Integer clickPushFlag;

      //超时时间
      @TableField(fill = FieldFill.INSERT)
      private LocalDateTime timeoutPeriod;

}
